package com.dinghui.salary.service;

import com.dinghui.salary.pojo.Page;
import com.dinghui.salary.pojo.Salary;
import com.dinghui.salary.pojo.User;
import com.dinghui.salary.pojo.dto.SalaryDTO;
import com.dinghui.salary.pojo.dto.SearchSalaryDTO;
import com.dinghui.salary.pojo.vo.SalaryFieldVO;
import com.dinghui.salary.utils.PagedGridResult;

import java.util.Map;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * @author tanrentao
 * @date 2021-09-06
 * @desc
 */
public interface SalaryService {

    int Delete(Map item, Page dto);

    PagedGridResult FindAll(Page dto);

    Object FindById(Salary dto);

//    int add(SalaryDTO salary);

    int modify(Map maps, Page dto);

    int equationQuery(Page dto);

    PagedGridResult selectSalaryList(SearchSalaryDTO dto, User user);

    List<SalaryFieldVO> selectSalaryFiled(SearchSalaryDTO dto);
}
